﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseUtils.Utils
{
    public class UpdateResult
    {/// <summary>是否更新成功</summary>
        public bool IsSuccess { get; set; }
        /// <summary>结果提示（成功说明/失败原因）</summary>
        public string Message { get; set; } = string.Empty;
        /// <summary>目标路径（便于定位问题）</summary>
        public string TargetPath { get; set; } = string.Empty;
        /// <summary>更新前的值（失败时可用于回滚参考）</summary>
        public string OldValue { get; set; }
        /// <summary>计划更新的值</summary>
        public string NewValue { get; set; }
    }
}
